home *** CD-ROM | disk | FTP | other *** search
/ Tripas 2 / TRIPAS 002.iso / RRRA.exe / STUFF.CON < prev    next >
Encoding:
Text File  |  1998-07-02  |  2.7 KB  |  162 lines

  1. // Shooting windows 
  2. action  WACOSHOOTER  0 1 1 1 1
  3. action  WACOSHOOTERA 1 1 1 1 15
  4. action  WACOSHOOTERB 2 1 1 1 15
  5. action  WACOSHOOTERC 3 1 1 1 15
  6. action  WACOSHOOTERD 4 1 1 1 15
  7.  
  8. ai AIWACOSHOOTER  WACOSHOOTER  0
  9. ai AIWACOSHOOTERA WACOSHOOTERA 0
  10. ai AIWACOSHOOTERB WACOSHOOTERB 0
  11. ai AIWACOSHOOTERC WACOSHOOTERC 0
  12. ai AIWACOSHOOTERD WACOSHOOTERD 0
  13.  
  14. useractor enemy WACOWINDER WEAK
  15.  
  16.   ifai 0
  17.   {
  18.     ai AIWACOSHOOTER
  19.   }
  20.   
  21.   ifai AIWACOSHOOTER
  22.   {
  23.     ifrnd 8
  24.     {
  25.       ifp palive
  26.         ifcansee
  27.           ifcanshoottarget
  28.           {
  29.             ifpdistl 18000 
  30.             {
  31.               ifrnd 64
  32.                 sound GLASSSND
  33.               sound SHOT6
  34.             }
  35.             shoot SHOTGUN
  36.             lotsofglass 4
  37.             ifrnd 64
  38.               ai AIWACOSHOOTERA 
  39.             else ifrnd 128
  40.               ai AIWACOSHOOTERB 
  41.             else ifrnd 128
  42.               ai AIWACOSHOOTERC 
  43.             else
  44.               ai AIWACOSHOOTERD 
  45.           }
  46.     }
  47.   }
  48.   else ifai AIWACOSHOOTERA  
  49.   {
  50.     ifactioncount 1
  51.     {
  52.       ai AIWACOSHOOTER
  53.     }
  54.   }
  55.   else ifai AIWACOSHOOTERB  
  56.   {
  57.     ifactioncount 1
  58.     {
  59.       ai AIWACOSHOOTER
  60.     }
  61.   }
  62.   else ifai AIWACOSHOOTERC  
  63.   {
  64.     ifactioncount 1
  65.     {
  66.       ai AIWACOSHOOTER
  67.     }
  68.   }
  69.   else ifai AIWACOSHOOTERD  
  70.   {
  71.     ifactioncount 1
  72.     {
  73.       ai AIWACOSHOOTER
  74.     }
  75.   }
  76. enda
  77.  
  78.  
  79. // DEPUTY
  80. // THIS ACTOR IS THE SHERIFF + 5
  81. define DEPUTY            4357
  82.  
  83. action DEPUTYWALK    -5  8  5  1  16
  84. action DEPUTYDIE     99  7  1  1  20
  85. action DEPUTYDEAD   105  1  1  1  20
  86.  
  87. move DEPUTYMOVE 20
  88.  
  89. ai AIDEPUTYWALK DEPUTYWALK DEPUTYMOVE geth // normal sherif walk speed
  90. ai AIDEPUTYDIE  DEPUTYDIE  0
  91. ai AIDEPUTYDEAD DEPUTYDEAD 0
  92.  
  93. useractor enemy DEPUTY 2 DEPUTYWALK
  94.   fall
  95.   ifai 0
  96.   {
  97.     cstator 257
  98.     ai AIDEPUTYWALK
  99.   }
  100.   ifaction DEPUTYDEAD
  101.   {
  102.     strength 0
  103.     ifhitweapon
  104.       ifwasweapon RADIUSEXPLOSION
  105.       {
  106.         sound SQUISHED
  107.         state standard_jibs
  108.         killit
  109.         break
  110.       }
  111.     break
  112.   }
  113.   ifai AIDEPUTYDIE
  114.   {
  115.     ifactioncount 6
  116.     {
  117.       ifrnd 64
  118.         spawn BLOODPOOL
  119.       state bf
  120.       iffloordistl 8
  121.       move 0
  122.       action DEPUTYDEAD
  123.       break
  124.     }
  125.   }
  126.   ifai AIDEPUTYWALK
  127.   {
  128.     ifrnd 1
  129.     {
  130.       sound CASUL_FIRE
  131.       shoot RIFLE
  132.     }
  133.     // ifrnd 1
  134.     // {
  135.     // ifrnd 128
  136.     // soundonce BLABLA
  137.     // else ifrnd 128
  138.     // soundonce BLABLA
  139.     // else
  140.     // soundonce BLABLA
  141.     // }
  142.     ifactioncount 50
  143.       ifrnd 8
  144.         {
  145.           strength 0
  146.           ai AIDEPUTYDIE
  147.         }
  148.  
  149.   }
  150.  
  151.   ifhitweapon
  152.   {
  153.     spawn BLOOD
  154.     ifdead
  155.     {
  156.       ai AIDEPUTYDIE
  157.       break
  158.     }
  159.   }
  160.  
  161. enda
  162.